//
//  LZAlertView.h
//  laziz_Consumer
//
//  Created by xbn_iMac on 2016/11/15.
//  Copyright © 2016年 XBN. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LZAlertBaseCustomView;

@interface LZAlertViewManager : NSObject

@property (nonatomic ,assign) BOOL isShowAlert;

+ (instancetype)shareInstance;

@end

@interface LZAlertView : UIView

@property (nonatomic, copy) void (^clickButtonIndexBlock)(NSInteger index);

@property (nonatomic, strong) UIColor *cancelColor;          // 取消按钮的字体颜色，默认是灰色
@property (nonatomic, strong) UIColor *buttonsColor;         // 其他按钮的字体颜色，默认是绿色

/* 注：只传文字或传文字和图片，样式是默认样式，如果有特殊需求则自定义view */
-(instancetype)initWithContent:(NSString*)content andImage:(UIImage*)aImage cancelButtonTitle:(NSString*)cancel otherButtonTitles:(NSString*)otherButtonTitles, ...;

/* 注：aView可以为nil，但如果不为nil则一定要设置好高度 */
-(instancetype)initWithCustomTopView:(LZAlertBaseCustomView*)aView cancelButtonTitle:(NSString*)cancel otherButtonTitles:(NSString*)otherButtonTitles, ... NS_REQUIRES_NIL_TERMINATION;

-(void)show;

@end
